<?php /* Smarty version Smarty-3.0.8, created on 2011-08-03 14:06:27
         compiled from "./templates/tattoo\galerija.tpl" */ ?>
<?php /*%%SmartyHeaderCode:3404e3955e30e1940-77209858%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '84ff5a867dad240235e31aec8bb136b830d4e35f' => 
    array (
      0 => './templates/tattoo\\galerija.tpl',
      1 => 1312380382,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3404e3955e30e1940-77209858',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_capitalize')) include 'class/smarty/plugins\modifier.capitalize.php';
?>	<div class="page">

		<!--Page content start-->
		<div class="sidebar_page">
			<div class="content">
				<!--Galleries-->
				<div id="gallery">
					<div class="page_capt clearfix">
						<div class="fl_left">
							<h2>Galerija</h2>
                                                        <h3><?php echo smarty_modifier_capitalize($_smarty_tpl->getVariable('tip_galerije')->value);?>
 Radovi</h3>
						</div>
						<div class="fl_right filter_opt">
							<form id="gal_filter_form" name="gal_filter_form" action="" method="post">
								<label for="gal_filter_term">Traži</label>
								<input class="inp_text" id="gal_filter_term" name="gal_filter_term" type="text" />
								<label for="gal_filter_sort">Sortiraj po</label>
								<select class="inp_select" id="gal_filter_sort" name="gal_filter_sort">
									<option value="">broju pregleda</option>
									<option value="">broju lajkova</option>
									<option value="">broju komentara</option>
								</select>
								<input class="inp_btn" id="gal_filter_submit" name="gal_filter_submit" type="submit" value="Traži" />
							</form>
						</div>
					</div>
					<div class="clearfix thumb_gall">
                                            <?php  $_smarty_tpl->tpl_vars['GalleryPhoto'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('GalleryPhotos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['GalleryPhoto']->key => $_smarty_tpl->tpl_vars['GalleryPhoto']->value){
?>
						<div class="gal_item">
							<a class="thumb" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['GalleryPhoto']->value['id'];?>
" title="Pogledajte uvećanu sliku"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->tpl_vars['GalleryPhoto']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['GalleryPhoto']->value['slika'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['GalleryPhoto']->value['naziv'];?>
" /></a>
							<a class="img_det_user" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=profil&clan_id=<?php echo $_smarty_tpl->tpl_vars['GalleryPhoto']->value['ime'];?>
 " title="Pogledajte profil"><?php echo $_smarty_tpl->tpl_vars['GalleryPhoto']->value['username'];?>
</a>
							<span class="img_det_views"><?php echo $_smarty_tpl->tpl_vars['GalleryPhoto']->value['broj_pregleda'];?>
</span>
							<span class="img_det_likes"><?php echo $_smarty_tpl->tpl_vars['GalleryPhoto']->value['broj_skljoceva'];?>
</span>
							<span class="img_det_comments"><?php echo $_smarty_tpl->tpl_vars['GalleryPhoto']->value['broj_komentara'];?>
</span>
						</div>
                                            <?php }} ?>

					</div><!--end of .thumb_gall-->
					<div class="gal_nav">
						<?php echo $_smarty_tpl->getVariable('paginationGallery')->value;?>

					</div>
				</div>


				<!-- Page bottom blocks -->
				<div class="cols3spanL" id="botom_boxes">
					<div class="col"><?php $_template = new Smarty_Internal_Template("bottom_banners.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?></div>
					<div class="col"><?php $_template = new Smarty_Internal_Template("chat.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?></div>
				</div>

			</div>
			<!--Content end (.content)-->
			<div class="sidebar"><?php $_template = new Smarty_Internal_Template("sidebar_banners.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?></div>
		</div>
		<!--Page content end (.sidebar_page)-->
	</div>

